package Demo01;

abstract class A{
    public int a;
    public int b;

    public A(int a,int b){
        this.a=a;
        this.b=b;
    }
    public void func(){
        System.out.println("hehehe");
    }
}

class B extends A{
    public B(){
        super(1,2);
    }
}

public class test1 {
    public static void main(String[] args) {
        B b=new B();
    }
}
